// 由首页跳转的路由
const visitorRoutes = [
  {
    path: '*',
    redirect: '/'
  },
  {
    path: '/', // 首页
    name: 'index',
    component: () => import('@/views/home/index')
  },
  {
    path: '/ziliao', // 网贷资料包
    name: 'ziliao',
    component: () => import('@/views/home/ziliao')
  },
  {
    path: '/ziliaoDetails', // 网贷资料包详情
    name: 'ziliaoDetails',
    component: () => import('@/views/home/ziliao_details')
  },
  {
    path: '/out', // 外部页面
    name: 'out',
    component: () => import('@/views/home/out')
  },
  {
    path: '/daikuan', // 贷款中心(列表页)
    name: 'daikuan',
    component: () => import('@/views/home/daikuan')
  },
  {
    path: '/daikuanDetails', // 贷款中心(详情页)
    name: 'daikuanDetails',
    component: () => import('@/views/home/daikuan_details')
  },
  {
    path: '/daikuanImg', // 贷款中心(生成图片页)
    name: 'daikuanImg',
    component: () => import('@/views/home/daikuan_tui_img')
  },
  {
    path: '/chaxun', // 信用查询
    name: 'chaxun',
    component: () => import('@/views/home/chaxun')
  },
  {
    path: '/share', // 分享
    name: 'share',
    component: () => import('@/views/home/share')
  },
  {
    path: '/ganhuo', // 技术干货
    name: 'ganhuo',
    component: () => import('@/views/home/ganhuo')
  },
  {
    path: '/ganhuoD', // 技术干货
    name: 'ganhuoD',
    component: () => import('@/views/home/ganhuoD')
  },
  {
    path: '/zixun', // 资讯
    name: 'zixun',
    component: () => import('@/views/home/zixun')
  },
  {
    path: '/news', // 资讯
    name: 'news',
    component: () => import('@/views/home/news')
  },
  {
    path: '/upload', // 上传凭证
    name: 'upload',
    component: () => import('@/views/home/upload')
  },
  {
    path: '/vip', // 开通会员
    name: 'vip',
    component: () => import('@/views/home/kai_vip')
  },
  {
    path: '/vipD', // 会员权益
    name: 'vipD',
    component: () => import('@/views/home/vip_details')
  },
  {
    path: '/gonglue',
    name: 'gonglue',
    component: () => import('@/views/home/gonglue')
  },
  {
    path: '/gonglueD',
    name: 'gonglueD',
    component: () => import('@/views/home/gonglueD')
  }

];

export default visitorRoutes;
